home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Scroll Bars < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Scroll Bars
  2. Sent:        6/28/96 2:01 PM
  3. Received:    6/28/96 2:32 PM
  4. From:        Laurent Delamare, laurentd@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >
  9. >Our part creates scroll bars via code in CreateSubViews instead of using a
  10. >resource.  Under R1, our scroll bars never show/hide when our part is
  11. >suspended/resumed.  Using the debugger, I noticed that
  12. >FW_CScrollBar::DoActivateEvent never gets called.  Any ideas?
  13. >
  14. >Thank you,
  15. >  Karl Jepsen
  16.  
  17. Karl,
  18. there shouldn't be any difference between scroll bars created from 
  19. resources and scroll bars created by program (you can check that with ODF 
  20. Form by changing #if 1 to #if 0 in CreateSubViews) .  The only thing I 
  21. can think of is a problem I fixed before R1 where activate events were 
  22. not propagated to more than 1 level of subviews.  Are you scroll bars 
  23. direct subviews of the frame?  Can you check if this makes a difference?
  24.  
  25. ______________________________________________________________________
  26. Laurent Delamare               laurentd@apple.com
  27. ODF Team                       http://www.devtools.apple.com/odf/
  28. Apple Computer, Inc.           http://www.opendoc.apple.com/
  29.